Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: Bluetooth: PBP: Source: Fix advertising data #80925

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Nov 5, 2024

The sample had a few off-by-ones in the code, which caused access to invalid data.

Fixed by setting the right buffer sizes and the right AD length fields.

See also #80924

The sample had a few off-by-ones in the code, which caused access
to invalid data.

Fixed by setting the right buffer sizes and the right AD length
fields.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley assigned Thalley and unassigned kartben Nov 5, 2024
@Thalley Thalley added the bug The issue is a bug, or the PR is fixing a bug label Nov 7, 2024
@mmahadevan108
Copy link
Collaborator

@Thalley , not needed for 4.0?

@Thalley
Copy link
Collaborator Author

Thalley commented Nov 8, 2024

@Thalley , not needed for 4.0?

Feel free to merge it, but it has no bug report and it's just a minor bug for a sample :)

@nashif nashif merged commit dc6630d into zephyrproject-rtos:main Nov 16, 2024
28 checks passed
@Thalley Thalley deleted the pbp_sample_ad_fix branch November 16, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Audio area: Bluetooth area: Samples Samples bug The issue is a bug, or the PR is fixing a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

8 participants